package com.chunlin.polymrphism;

public class Cat extends Animal{
    public Cat(String name, int age){
        super(name, age);
    }
    @Override
    public void eat(){
        System.out.println(name+"吃鱼~~~");
    }

    public void mew() {
        System.out.println("mew");
    }

    public void test() {
        System.out.println("test");
    }
}
